package jwu2.gui;

import jwu2.core.Addon;

/**
 *
 * @author jbk
 */
public interface GUIEventListener {

    /**
     * When the user choses to install an addon this event will be called
     * with the relevant addon as parameter.
     */
    public void onInstallAddonEvent(Addon addon);

    /**
     * When the user asks to remove a particular addon this event will be called
     * with the given addon as parameter
     */
    public void onRemoveAddonEvent(Addon addon);
    
    /**
     * Called when an addon is added to an addon bundle
     */
    public void onBundleAddAddonEvent(Addon addon);
    
    /**
     * Called when an addon is removed from an addon bundle
     * @param addon
     */
    public void onBundleRemoveAddonEvent(Addon addon);
}
